package com.pyg.manager.service;

import com.pyg.pojo.PageResult;
import com.pyg.pojo.PygResult;
import com.pyg.vo.Specification;

import java.util.List;
import java.util.Map;

public interface SpecificationService {


    PageResult findByPage(Integer pages, Integer rows);

    Specification findOne(Long id);

    PygResult add(Specification specification);

    PygResult update(Specification specification);

    PygResult delete(Long[] ids);

    List<Map> findSpecList();
}
